﻿@using PhotoBlogApp.Models
@model PhotoBlogApp.Models.ClientModels.PostsM
@{
    ViewBag.Title = "365 Creative Group - Блог";
}
<div class="blog-b">
    @foreach (var post in Model.Posts)
    {
        <div class="blog-b__post" id="post-@post.PostId">
            @{
                Html.RenderPartial("_Post", post);
            }
            <div class="social-b">
                @Html.ActionLink("Открыть в новом окне", "Post", "Blog", new { id = post.PostId }, new { target = "blank", @class = "pull-left" })
                @{
                    Html.RenderPartial("ko/_Social", post);
                }
            </div>
            <div class="clearfix"></div>
        </div>
    }
</div>